package com.dao;

import com.entity.User;

import java.util.List;

/*
 *
 *@author XCH
 *@date2024 - 11 - 26
 *
 */
public interface UserDAO {
    // 通过用户名获取用户
    User loginUsername(String username,String passwrod);
    User getUserByUsername(String username);

    // 插入新用户
    boolean insertUser(User user);
}
